
from autoTest_brtcApi.core.rest_client import RestClient

# 构造接口的请求方式和接口的地址

class UserApiUtils(RestClient):

    def reg_utils(self,headers,**kwargs):
        res = self.excute_request("POST","/register", headers,**kwargs)
        return res

    def log_utils(self,headers,**kwargs):
        res = self.excute_request("POST","/login", headers,**kwargs)
        return res

    def modifyUserNick_utils(self,headers,**kwargs):
        res = self.excute_request("PUT", "/modifyUserNick", headers, **kwargs)
        return res

#### 实例化UserApiUtils()
userApiUtil = UserApiUtils()